LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := test_jni

LOCAL_SRC_FILES := ../../jni/classreferenceholder.cpp ../../jni/jni_checks.cpp ../../jni/jni_helpers.cpp ../../jni/jni_onload.cpp ../../test_jni.cpp

ifeq ($(PM5_CONFIG),debug)
  LOCAL_C_INCLUDES := 
  LOCAL_LDLIBS := -llog
  LOCAL_CFLAGS := -DPOSIX -DANDROID_NDK -DDEBUG -D_DEBUG
  LOCAL_CPPFLAGS := -std=c++11
  include $(BUILD_SHARED_LIBRARY)
endif

ifeq ($(PM5_CONFIG),release)
  LOCAL_C_INCLUDES := 
  LOCAL_LDLIBS := -llog
  LOCAL_CFLAGS := -DPOSIX -DANDROID_NDK -DNDEBUG
  LOCAL_CPPFLAGS := -std=c++11
  include $(BUILD_SHARED_LIBRARY)
endif